<section *ngIf="showTable" style="margin-top: 30px;">
    <nz-spin nzTip="Loading..." [nzSpinning]="loading">
        <app-table-page #st [tmp]="tmp" [btnTmp]="btnTmp" [flag]="null" [config]="config" [process]="dataProcess" [bodyTpl]="bodyTpl" (_selectChange)="_console($event)">
            <ng-template #tmp>
                <button nz-button  nzType="primary" (click)="staticByDay()">按日统计</button>
                <button nz-button  nzType="primary" (click)="staticByMonth()">按月统计</button>
                <button nz-button (click)="export()" style="float: right;">导出(Excel)</button>
            </ng-template>
            <ng-template #btnTmp>
                <!-- <button nz-button  nzType="primary" (click)="staticByDay()">按日统计</button>
                <button nz-button  nzType="primary" (click)="staticByMonth()">按月统计</button> -->
            </ng-template>
            <ng-template #bodyTpl let-s>
                <ng-container>
                    <tr>
                        <td>合计</td>
                        <td class="text-left">{{s.areaMoney.value}}</td>
                        <td class="text-left">{{s.outInMoney.value}}</td>
                        <td class="text-left">{{s.inStatic.value}}</td>
                    </tr>
                </ng-container>
            </ng-template>
        </app-table-page>
    </nz-spin>
</section>
